﻿@{
    ViewBag.Title = "Form";
    Layout = "~/Views/Shared/_ManufactureList.cshtml";
}
<style type="text/css">
    .form .formValue {
        padding-top: 1px;
        padding-bottom: 1px;
    }
</style>
<script type="text/javascript">
    var status = '@ViewBag.status';
    var number = '@ViewBag.number';
    $(function () {
        initControl();
    });
    function initControl() {
        if (status == 'U') {
            if ($('#oldEntity').val() != '') {
                var data = JSON.parse($('#oldEntity').val());
                setDataByJson("#form1", data);
            }
            $('#checkbox_list').find('input[type=hidden]').each(function () {
                var id = $(this).prop('id') + "_Box";
                if ($(this).val() == "1") {
                    $('#' + id).prop("checked", true);
                } else {
                    $('#' + id).prop("checked", false);
                }
            })
            $('#UnitNO').prop("readonly", true);
        }
        initBindSelect("#form1");
    }
    function btn_ok() {
        submitForm();
    }
    function submitForm() {
        $('#checkbox_list').find('input[type=checkbox]').each(function () {
            var id = $(this).prop('id').replace("_Box", "");
            if ($(this).prop("checked")) {
                $('#' + id).val('1');
            } else {
                $('#' + id).val('0');
            }
            //alert(id + '：' + $('#' + id).val());
        })
        if (!$('#form1').formValid()) {
            return false;
        }
        $.submitForm({
            url: "/MainData/SupplierInfo/SubmitSupplierInfoForm?status=" + status + "&keyValue=" + number,
            param: $("#form1").formSerialize(),
            success: function (result) {
                if (status == 'I') {
                    parent.reloadGrid(result.data);
                } else {
                    parent.reloadGrid();
                }
                parent.$.detailClose();
            }
        })
    }
    function btn_cancel() {
        parent.$.detailClose();
    }
</script>
<div class="ui-layout" id="layout" style="height: 100%; width: 100%;">
    <input id="oldEntity" type="hidden" value="@ViewBag.oldEntity" />
    <form id="form1">
        <div style="width:950px;margin:0 auto;">
            <table class="form" style="width:900px;text-align:right;margin:5px 15px;border-bottom:2px solid #ccc;">
                <tr>
                    <td class="formValue input-width-185" style="width:500px;padding-left:100px;text-align:left;">
                        &nbsp;
                    </td>
                    <td style="width: 300px; padding: 0px 10px 5px 10px;">
                        <div class="btn-group" style="margin-right:20px;">
                            <a id="" class="btn btn-primary center-block" onclick="btn_ok()"><span class="glyphicon glyphicon-ok"></span> 确认</a>
                        </div>
                        <div class="btn-group">
                            <a id="" class="btn btn-primary center-block" onclick="btn_cancel()"><span class="glyphicon glyphicon-remove"></span> 取消</a>
                        </div>
                    </td>
                </tr>
            </table>
            <ul id="myTab" class="nav nav-tabs" style="width: 920px; margin: 0 15px;">
                <li class="active"><a href="#info1" data-toggle="tab">基本信息</a></li>
                <li><a href="#info2" data-toggle="tab">企业简介</a></li>
                <li><a href="#info3" data-toggle="tab">账务信息</a></li>
                <li><a href="#info4" data-toggle="tab">经营管理</a></li>
                <li><a href="#info5" data-toggle="tab">质量认证</a></li>
            </ul>
            <div id="myTabContent" class="tab-content" style="padding-top:10px;">
                <div class="tab-pane fade in active" id="info1">
                    <table class="form" style="width: 900px;margin:0 15px;" >
                        <tr>
                            <th class="formTitle" style="width:80px;">供应商编号</th>
                            <td class="formValue input-width-320">
                                <input id="UnitNO" name="UnitNO" type="text" class="form-control required" value="" />
                                <input id="UnitID" name="UnitID" type="hidden" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">供应商全称</th>
                            <td class="formValue input-width-740">
                                <input id="UnitFullName" name="UnitFullName" type="text" class="form-control required" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">供应商简称</th>
                            <td class="formValue input-width-480">
                                <input id="UnitShortName" name="UnitShortName" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">原供应商名称</th>
                            <td class="formValue input-width-740">
                                <input id="UnitName" name="UnitName" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                    </table>
                    <table class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:80px;">更名时间</th>
                            <td class="formValue input-width-320" style="width:320px;">
                                <input id="AlertNameTime" name="AlertNameTime" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                            <th class="formTitle" style="width:94px;">检索码</th>
                            <td class="formValue input-width-320" style="">
                                <input id="SearchNO" name="SearchNO" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">供应商地址</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="UnitAddress" name="UnitAddress" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">业务联系人</th>
                            <td class="formValue input-width-320">
                                <input id="ContactUser" name="ContactUser" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">Email</th>
                            <td class="formValue input-width-320" style="">
                                <input id="ContactEMail" name="ContactEMail" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">电话</th>
                            <td class="formValue input-width-320">
                                <input id="ContactPhone" name="ContactPhone" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">传真</th>
                            <td class="formValue input-width-320" style="">
                                <input id="ContactFax" name="ContactFax" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">法定代表人</th>
                            <td class="formValue input-width-320">
                                <input id="LegalUser" name="LegalUser" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">Email</th>
                            <td class="formValue input-width-320" style="">
                                <input id="LegalEMail" name="LegalEMail" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">电话</th>
                            <td class="formValue input-width-320">
                                <input id="LegalPhone" name="LegalPhone" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">传真</th>
                            <td class="formValue input-width-320" style="">
                                <input id="LegalFax" name="LegalFax" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">委托代理人</th>
                            <td class="formValue input-width-320">
                                <input id="EntrustUser" name="EntrustUser" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">Email</th>
                            <td class="formValue input-width-320" style="">
                                <input id="EntrustEMail" name="EntrustEMail" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">电话</th>
                            <td class="formValue input-width-320">
                                <input id="EntrustPhone" name="EntrustPhone" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">传真</th>
                            <td class="formValue input-width-320" style="">
                                <input id="EntrustFax" name="EntrustFax" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">运输部门电话</th>
                            <td class="formValue input-width-320">
                                <input id="TransportPhone" name="TransportPhone" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">传真</th>
                            <td class="formValue input-width-320" style="">
                                <input id="TransportFax" name="TransportFax" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">Email</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="TransportEMail" name="TransportEMail" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">发运部门电话</th>
                            <td class="formValue input-width-320">
                                <input id="ShippingPhone" name="ShippingPhone" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">传真</th>
                            <td class="formValue input-width-320" style="">
                                <input id="ShippingFax" name="ShippingFax" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">Email</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="ShippingEMail" name="ShippingEMail" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                    </table>
                    <table id="checkbox_list" class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:80px;">材料需求</th>
                            <td class="formValue" style="width:80px;"><input type="checkbox" id="IsCLCustomer_Box" /><input id="IsCLCustomer" name="IsCLCustomer" type="hidden" value="" /></td>
                            <th class="formTitle" style="width:80px;">材料供应商</th>
                            <td class="formValue" style="width:80px;"><input type="checkbox" id="IsMaterial_Box" /><input id="IsMaterial" name="IsMaterial" type="hidden" value="" /></td>
                            <th class="formTitle" style="width:80px;">辅料供应商</th>
                            <td class="formValue" style="width:80px;"><input type="checkbox" id="IsAccessories_Box" /><input id="IsAccessories" name="IsAccessories" type="hidden" value="" /></td>
                            <th class="formTitle" style="width:80px;">模具厂家</th>
                            <td class="formValue" style="width:80px;"><input type="checkbox" id="IsMould_Box" /><input id="IsMould" name="IsMould" type="hidden" value="" /></td>
                            <th class="formTitle" style="width:80px;">备件厂家</th>
                            <td class="formValue" style=""><input type="checkbox" id="IsBJ_Box" /><input id="IsBJ" name="IsBJ" type="hidden" value="" /></td>
                        </tr>
                        <tr>
                            <th class="formTitle">零件需求</th>
                            <td class="formValue"><input type="checkbox" id="IsCustomer_Box" /><input id="IsCustomer" name="IsCustomer" type="hidden" value="" /></td>
                            <th class="formTitle">零件供应商</th>
                            <td class="formValue"><input type="checkbox" id="IsProduct_Box" /><input id="IsProduct" name="IsProduct" type="hidden" value="" /></td>
                            <th class="formTitle">容器供应商</th>
                            <td class="formValue"><input type="checkbox" id="IsFContainer_Box" /><input id="IsFContainer" name="IsFContainer" type="hidden" value="" /></td>
                            <th class="formTitle">设备厂家</th>
                            <td class="formValue"><input type="checkbox" id="Isdevice_Box" /><input id="Isdevice" name="Isdevice" type="hidden" value="" /></td>
                            <th class="formTitle">承运商</th>
                            <td class="formValue"><input type="checkbox" id="IsCarrier_Box" /><input id="IsCarrier" name="IsCarrier" type="hidden" value="" /></td>
                        </tr>
                    </table>
                </div>
                <div class="tab-pane fade" id="info2">
                    <table class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:80px;">单位性质</th>
                            <td class="formValue input-width-320" style="width:320px;">
                                <select id="UniteNature" name="UniteNature" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.uniteNature)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle" style="width:95px;">单位类型</th>
                            <td class="formValue input-width-320" style="">
                                <select id="UniteType" name="UniteType" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.uniteType)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">产品类型</th>
                            <td class="formValue input-width-320">
                                <select id="SupplierProductType" name="SupplierProductType" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.supplierProductType)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle">主供应类别</th>
                            <td class="formValue input-width-320" style="">
                                <select id="SupplyType" name="SupplyType" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.supplyType)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">本单位持股</th>
                            <td class="formValue input-width-140" colspan="3">
                                <input id="UnitHolding" name="UnitHolding" type="text" class="form-control text-right number" value="" /><label class="prefix">%</label>
                                <label class="prefix">东投持股</label>
                                <input id="DTHolding" name="DTHolding" type="text" class="form-control text-right number" value="" /><label class="prefix">%</label>
                                <label class="prefix">武汉达鼎持股</label>
                                <input id="DFYXHolding" name="DFYXHolding" type="text" class="form-control text-right number" value="" /><label class="prefix">%</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">员工人数</th>
                            <td class="formValue input-width-280">
                                <input id="EmployeesNum" name="EmployeesNum" type="text" class="form-control text-right digits" value="" />
                                <label class="suffix">人</label>
                            </td>
                            <th class="formTitle">&nbsp;</th>
                            <td class="formValue input-width-320" style="">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">固定资产</th>
                            <td class="formValue input-width-280">
                                <input id="FixedAssets" name="FixedAssets" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">万元</label>
                            </td>
                            <th class="formTitle">生产区面积</th>
                            <td class="formValue input-width-280" style="">
                                <input id="ProductionArea" name="ProductionArea" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">亩</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">营业执照</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="BusinessLicense" name="BusinessLicense" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">经营许可证</th>
                            <td class="formValue input-width-320">
                                <input id="ExperiencePermits" name="ExperiencePermits" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">税务登记证</th>
                            <td class="formValue input-width-320">
                                <input id="TaxRegistration" name="TaxRegistration" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">法人代表证</th>
                            <td class="formValue input-width-320">
                                <input id="LegalPermit" name="LegalPermit" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">特殊许可证</th>
                            <td class="formValue input-width-320">
                                <input id="SpecialPermit" name="SpecialPermit" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">主要用户</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="MajorUsers" name="MajorUsers" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">生产能力</th>
                            <td class="formValue input-width-280" colspan="3">
                                <input id="ProductionCapacity" name="ProductionCapacity" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">件/年</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">近三年取得荣誉</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="ThreeHonor" name="ThreeHonor" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">配套时间</th>
                            <td class="formValue input-width-320">
                                <input id="SupportingTime" name="SupportingTime" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                            <th class="formTitle">终止时间</th>
                            <td class="formValue input-width-320" style="">
                                <input id="TerminationTime" name="TerminationTime" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">电话</th>
                            <td class="formValue input-width-320">
                                <input id="UnitPhone" name="UnitPhone" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">传真</th>
                            <td class="formValue input-width-320" style="">
                                <input id="UnitFax" name="UnitFax" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">Email</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="UnitEMail" name="UnitEMail" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="tab-pane fade" id="info3">
                    <table class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:100px;">订货币种</th>
                            <td class="formValue input-width-320">
                                <select id="CurrencyType" name="CurrencyType" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.currencyType)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">税号</th>
                            <td class="formValue input-width-480">
                                <input id="UnitTariff" name="UnitTariff" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">开户银行</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBank1" name="UnitBank1" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">账号</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBankNO1" name="UnitBankNO1" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">开户银行</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBank2" name="UnitBank2" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">账号</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBankNO2" name="UnitBankNO2" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">开户银行</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBank3" name="UnitBank3" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">账号</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBankNO3" name="UnitBankNO3" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">开户银行</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBank4" name="UnitBank4" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">账号</th>
                            <td class="formValue input-width-480">
                                <input id="UnitBankNO4" name="UnitBankNO4" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="tab-pane fade" id="info4">
                    <table class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:80px;">主供产品类别</th>
                            <td class="formValue input-width-320" style="width:330px;">
                                <select id="MainProductType" name="MainProductType" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.mainProductType)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle" style="width:95px;">&nbsp;</th>
                            <td class="formValue" style="">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">供应商状态</th>
                            <td class="formValue input-width-320">
                                <select id="UnitStatus" name="UnitStatus" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.unitStatus)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle">主要采购方式</th>
                            <td class="formValue input-width-320" style="">
                                <select id="MainPurchaseType" name="MainPurchaseType" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.mainPurchaseType)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">供货级别</th>
                            <td class="formValue input-width-320">
                                <select id="SupplyLevel" name="SupplyLevel" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.supplyLevel)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle">信誉等级</th>
                            <td class="formValue input-width-320" style="">
                                <select id="CreditLevel" name="CreditLevel" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.creditLevel)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">开发手段</th>
                            <td class="formValue input-width-320">
                                <input id="DevelopMeans" name="DevelopMeans" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">开发周期</th>
                            <td class="formValue input-width-320" style="">
                                <input id="DevelopCycle" name="DevelopCycle" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">工程师以上</th>
                            <td class="formValue input-width-280">
                                <input id="EngineersMore" name="EngineersMore" type="text" class="form-control text-right digits" value="" />
                                <label class="suffix">人</label>
                            </td>
                            <th class="formTitle">一般技师</th>
                            <td class="formValue input-width-280" style="">
                                <input id="Engineers" name="Engineers" type="text" class="form-control text-right digits" value="" />
                                <label class="suffix">人</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">管理人员</th>
                            <td class="formValue input-width-280">
                                <input id="Management" name="Management" type="text" class="form-control text-right digits" value="" />
                                <label class="suffix">人</label>
                            </td>
                            <th class="formTitle">工人数量</th>
                            <td class="formValue input-width-280" style="">
                                <input id="WorkersNum" name="WorkersNum" type="text" class="form-control text-right digits" value="" />
                                <label class="suffix">人</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">次上年产值</th>
                            <td class="formValue input-width-280">
                                <input id="TimesPYearValue" name="TimesPYearValue" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">万元</label>
                            </td>
                            <th class="formTitle">次上年利润</th>
                            <td class="formValue input-width-280" style="">
                                <input id="TimesPYearProfit" name="TimesPYearProfit" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">万元</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">本单位占比例</th>
                            <td class="formValue input-width-280">
                                <input id="UnitProportion1" name="UnitProportion1" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">%</label>
                            </td>
                            <th class="formTitle">&nbsp;</th>
                            <td class="formValue input-width-280" style="">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">上年产值</th>
                            <td class="formValue input-width-280">
                                <input id="TimesYearValue" name="TimesYearValue" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">万元</label>
                            </td>
                            <th class="formTitle">上年利润</th>
                            <td class="formValue input-width-280" style="">
                                <input id="TimesYearProfit" name="TimesYearProfit" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">万元</label>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">本单位占比例</th>
                            <td class="formValue input-width-280">
                                <input id="UnitProportion2" name="UnitProportion2" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">%</label>
                            </td>
                            <th class="formTitle">&nbsp;</th>
                            <td class="formValue input-width-280" style="">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">年销售额</th>
                            <td class="formValue input-width-280">
                                <input id="UnitSales" name="UnitSales" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">万元</label>
                            </td>
                            <th class="formTitle">负债率</th>
                            <td class="formValue input-width-280" style="">
                                <input id="DebtRatio" name="DebtRatio" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">%</label>
                            </td>
                        </tr>
                    </table>
                    <table class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:100px;">分承包方合格标志</th>
                            <td class="formValue input-width-260" style="width:300px;">
                                <select id="QualifiedMark" name="QualifiedMark" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.qualifiedMark)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle" style="width:100px;">分承包方维护日期</th>
                            <td class="formValue input-width-260">
                                <input id="MaintainDate" name="MaintainDate" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:100px;">分承包方寄存记录</th>
                            <td class="formValue input-width-260" style="width:300px;">
                                <input id="StorageRecord" name="StorageRecord" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle" style="width:100px;">分承包方辅助说明</th>
                            <td class="formValue input-width-260">
                                <input id="AssistExplain" name="AssistExplain" type="text" class="form-control" value="" />
                            </td>
                        </tr>                            
                    </table>
                </div>
                <div class="tab-pane fade" id="info5">
                    <table class="form" style="width: 900px;margin:0 15px;">
                        <tr>
                            <th class="formTitle" style="width:80px;">二方单位认证</th>
                            <td class="formValue input-width-320" style="width:320px;">
                                <select id="UnitCertification" name="UnitCertification" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.unitcertification)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle" style="width:95px;">审核评分</th>
                            <td class="formValue input-width-105">
                                <input id="AuditScore" name="AuditScore" type="text" class="form-control text-right number" value="" />
                                <label class="suffix">分</label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <label class="prefix">计量等级</label>
                                <select id="MeasureGrade" name="MeasureGrade" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.measureGrade)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">评价日期</th>
                            <td class="formValue input-width-320">
                                <input id="EvaluateDate" name="EvaluateDate" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                            <th class="formTitle">审核证书</th>
                            <td class="formValue input-width-320">
                                <input id="AuditCertificate" name="AuditCertificate" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">评价结论</th>
                            <td class="formValue input-width-320">
                                <select id="EvaluateConclusion" name="EvaluateConclusion" class="form-control">
                                    <option value="">&nbsp;</option>
                                    @foreach (var item in ViewBag.evaluateConclusion)
                                    {
                                        <option value="@item.FTypeNO">@item.FTypeNO @item.FTypeName</option>
                                    }
                                </select>
                            </td>
                            <th class="formTitle">评价计划</th>
                            <td class="formValue input-width-320">
                                <input id="EvaluatePlan" name="EvaluatePlan" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle">二方质量评价</th>
                            <td class="formValue input-width-320">
                                <input id="QualityEvaluation" name="QualityEvaluation" type="text" class="form-control" value="" />
                            </td>
                            <th class="formTitle">实物评价</th>
                            <td class="formValue input-width-320">
                                <input id="EvaluationItems" name="EvaluationItems" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">评价说明</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="EvaluateExplain" name="EvaluateExplain" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">ISO9000标准</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="ISOStandard" name="ISOStandard" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">ISO9000公司</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="ISOUnit" name="ISOUnit" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">ISO9000日期</th>
                            <td class="formValue input-width-320" colspan="3">
                                <input id="ISODate" name="ISODate" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">QS9000标准</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="QSStandard" name="QSStandard" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">QS9000公司</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="QSUnit" name="QSUnit" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">QS9000日期</th>
                            <td class="formValue input-width-320" colspan="3">
                                <input id="QSDate" name="QSDate" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">其他标准</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="OtherStandards" name="OtherStandards" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">其他公司</th>
                            <td class="formValue input-width-740" colspan="3">
                                <input id="OtherUnit" name="OtherUnit" type="text" class="form-control" value="" />
                            </td>
                        </tr>
                        <tr>
                            <th class="formTitle" style="width:80px;">其他日期</th>
                            <td class="formValue input-width-320" colspan="3">
                                <input id="OtherDate" name="OtherDate" type="text" class="form-control input-wdatepicker" onclick="WdatePicker()" value="" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </form>
</div>

